<extend name="public@base5"/>

<block name="main">

    <div class="wrap">
        <ul class="nav nav-tabs">
           
            <li class="nav-item">
                <a class="nav-link active" href="{:url('task/sign_in')}">签到任务配置</a>
            </li>
        </ul>
        <form method="post" class="js-ajax-form margin-top-20" action="admin/task/save_sign_in">
            <foreach name="week" item="vo" key="key">
            <div class="row mb-3">
            <label for="input-tag_name{$key}" class="col-sm-2 col-form-label text-sm-end"><span class="form-required">*</span>{$week[$key]}</label>
            <div class="col-md-4 col-sm-4">
                <input type="number" class="form-control" id="input-tag_name{$key}" name="rewards[]" value="{$rewards[$key]}" placeholder="星链石数量">
            </div>
            </div>
            </foreach>
            
            
            

            <div class="row mb-3">
                <div class="offset-md-2 col-sm-10">
                    <button type="submit" class="btn btn-primary js-ajax-submit">
                        <i class="fa fa-save fa-fw"></i> {:lang('SAVE')}
                    </button>
                </div>
            </div>
        </form>
    </div>
</block>

<block name="scripts">
    <script src="__STATIC__/js/mall.js"></script>
</block>